<template>
  <div style="width: 100%;padding: 24px 8px">
    <div class="item1">
      <div class="item1-a">
        <span>温度</span>
      </div>
      <div class="item1-b">
        <span>2.5℃</span>
      </div>
    </div>
    <div class="item1">
      <div class="item1-a">
        <span>湿度</span>
      </div>
      <div class="item1-b">
        <span>20%</span>
      </div>
    </div>
    <div class="item1">
      <div class="item1-a">
        <span>溶氧量</span>
      </div>
      <div class="item1-b">
        <span>10mg/L</span>
      </div>
    </div>
    <div class="item1">
      <div class="item1-a">
        <span>PH值</span>
      </div>
      <div class="item1-b">
        <span>6.5</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'TryqComponent',
  data() {
    return {}
  }
};
</script>

<style lang="scss" scoped>
.item1 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 6px 16px;
  height: 36px;

  .item1-a {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 10px;

    > span {
      font-family: Source Han Sans;
      font-size: 16px;
      font-weight: normal;
      line-height: 24px;
      letter-spacing: 0em;
      color: #FFFFFF;
    }
  }

  .item1-b {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 5px;

    > span {
      font-family: DIN;
      font-size: 24px;
      font-weight: bold;
      background: linear-gradient(180deg, #D5FFF5 15%, #8CD9C5 84%);
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-fill-color: transparent;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  }
}
</style>
